OrderNotificationForTelegramBot\App S

Total Complexity 26
Dependencies 6
Dependents 0
Total lines 174
Lines of code 114
Logical lines of code 67
Comment lines 0
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
run()
S
59 3 14
loadHooks()
S
66 2 8
checkForWooCommerce()
S
67 2 8
woocommerceNewOrderArrived()
S
64 2 10
woocommerceOrderStatusChanged()
S
65 2 8
sendTestMessage()
S
63 2 10
init()
S
73 1 5
getTemplate()
S
80 1 3
initTelegramBotHelper()
S
63 1 10
sendTgNotification()
S
73 1 5
loadHooksInAdmin()
S
72 1 5
adminLoadJsScripts()
S
77 1 3
noticeForInstallingWoocommerce()
S
79 1 3
showWooCommerceError()
S
70 1 6
addActionLinks()
S
78 1 3
defineMethods()
S
82 1 3
wooInstalled()
S
81 1 3
wooNotInstalled()
S
81 1 3
addWooCommerceSettingSection()
S
76 1 4